//
//  AyUserTool.h
//  xWeibo
//
//  Created by alvis mac on 10/31/15.
//  Copyright © 2015 alvis. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AyUserInfoParam.h"
#import "AyUserInfoResult.h"
#import "AyUserUnreadCountParame.h"
#import "AyUserUnreadCountResult.h"
#import "IWFriendshipParam.h"
#import "IWFriendshipResult.h"

@interface AyUserTool : NSObject
/**
 *  加载用户的个人信息
 *
 *  @param param   请求参数
 *  @param success 请求成功后的回调
 *  @param failure 请求失败后的回调
 */
+ (void)userInfoWithParam:(AyUserInfoParam *)param success:(void (^)(AyUserInfoResult *result))success failure:(void (^)(NSError *error))failure;

/**
 *  加载用户的消息未读数
 */
+ (void)userUnreadCountWithParam:(AyUserUnreadCountParame *)param success:(void (^)(AyUserUnreadCountResult *result))success failure:(void (^)(NSError *error))failure;


+ (void)friendsWithParam:(IWFriendshipParam *)param success:(void (^)(IWFriendshipResult *result))success failure:(void (^)(NSError *error))failure;

+ (void)followersWithParam:(IWFriendshipParam *)param success:(void (^)(IWFriendshipResult *result))success failure:(void (^)(NSError *error))failure;


@end
